@echo off
SET /A a=5
IF NOT %a%==5 (echo "A is not equal to 6") else (echo 2)